.container
  .my-panel
    %h2 Sign Up
    %hr
    .row
      .col-sm-6.col-sm-offset-1
        = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: 'form-horizontal' }) do |f|
          = f.error_notification
          .form-group
            = f.label :name, 'Full Name', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.text_field :name, required: true, autofocus: true, class: 'form-control'
          .form-group
            = f.label :email, 'Email Address', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.email_field :email, required: true, class: 'form-control'
          .form-group
            = f.label :password, 'Password', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.password_field :password, required: true, class: 'form-control'
          .form-group
            = f.label :password_confirmation, 'Confirm Password', class: 'col-sm-3 control-label'
            .col-sm-7
              = f.password_field :password_confirmation, required: true, class: 'form-control'
          .form-group
            .col-sm-7.col-sm-offset-3
              = f.button :submit, 'Sign Up', class: 'btn btn-primary'
      .col-sm-4.col-sm-offset-1
        %h4 Have an Account?
        %p
          If you already have a password, please
          = link_to 'sign in', new_session_path(resource_name)
          \.